remote file repair
This PR leverages RNabel's contributions in #1669 and implements a download-to-upload strategy in case chunks need to be repaired but the file cannot be opened locally, removing the requirement for users to keep a copy of their file locally.