Changed flags variable in send_file_entry() to xflags.