Write pcap file as packets are captured.