Write PCAP file in binary mode