mdbook::utils::fs
pub fn write_file<P: AsRef<Path>>( build_dir: &Path, filename: P, content: &[u8]) -> Result<()>
Write the given data to a file, creating it first if necessary