sync-engine-shared - Refactor (allowing fix in DownloadFileHandler)
sync-engine-shared - Fix tests