Adds a dump-method on the pcap-object. Which allows packets to be written to a dump-file opened with dump_open.