Make sure that packets are not written to when unpacking.