pub fn append(path: &Path, contents: &[u8]) -> Result<()>
Equivalent to write(), but appends to the end instead of replacing the contents.
write()