pub fn create_new_lock_file(path: &Path) -> Result<File>
Creates a new lock file and fails if the path already exists.