cargo::util::paths
pub fn write_if_changed<P: AsRef<Path>, C: AsRef<[u8]>>( path: P, contents: C) -> CargoResult<()>