Fix Linux-to-Windows downloading

Fixes #29.
Additionally, fixes fetchFileTree in FtpTransport, and improves the download behaviour of it.