pub fn append_file(path: &str, contents: &str) -> Result<(), String>
Append a string to a file, creating it if it doesn’t exist.