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
@yvaucher of course. Here you go.