pub(crate) async fn write_file( context: &Context, path: impl AsRef<Path>, buf: &[u8], ) -> Result<(), Error>
Write a the given content to provided file path.