RsyncSync: support file:// sync-uri

This will be useful for unit tests that will sync from a local
file:// sync-uri.
GitSync: support file:// sync-uri

This will be useful for unit tests that will sync from a local
file:// sync-uri.