Correctly encode the file transfer URL