pub(crate) fn create( path: PathBuf, permissions: Option<&Permissions>, keep: bool, ) -> Result<TempDir>