prevent trying to find files with no downloadUri specified during remoteFiles uploads

Fixes #144