A couple of minor improvements to connector-files

* read from FTP in binary mode for hash correctness
* tweak call to write to make it 8.0 compatible
How does it improve version 8 compatibility ??