pub fn create_dir<P: AsRef<Path>>(path: P) -> Result<()>