Fix FileTransfer.download failing for file: URLs.

https://issues.apache.org/jira/browse/CB-2183