pub fn write_file_if_missing(path: &Path, contents: &[u8]) -> Result<()>
Write a file only when it does not already exist.