pub fn create_temp_dir(prefix: &str) -> Result<PathBuf>
Create a temporary directory with a given prefix