Added possibility to output to .pcap files.