Fix bug in post_file_send.