write pickle file to corpus dir so that it persists between reboots