MOBILE-401 Fix encoding of remote file names