pub fn ensure_dump_dir(dir: &Path) -> Result<()>
Checks that a SolDB bundle can be written to dir, before the run that records it.
dir