pub fn write(path: impl AsRef<Path>, content: impl AsRef<[u8]>) -> Result<()>
fs
Writes the content to the path, automatically creating the directory if doesn’t exist.