prevent accessing unopend pcap files - closes #41