sync-engine-shared - Refactor (allowing fix of file downloads)
sync-engine-shared - Fix tests