Added <signal.h> for linux, and squashed warning in transfer_file_data()