Make sure to do a read in afc_file_write_from_fd when data has been transmitted