FTP: Save errno in _copy_file().
FTP: Return bytes written in payload.