pub fn persist_dir_on_panic<S1: AsRef<str>, S2: AsRef<str>>(
    temp_dir: Option<TestingDirectory>,
    additional_contents: Vec<(S1, S2)>
)