Proper endianness handling of PCAP files.

I changed the endianness handling according to the "pcap-savefile" man page.