pub fn atomic_create_file(file_name: &Path) -> Result<()>