pub fn make_sure_dir_exists<F: AsRef<Path> + ?Sized>(f: &F) -> Result<()>
Ensures that the parent directory for the specified path exists, creating it if necessary.