code: func (a Afero) WriteFile(filename string, data []byte, perm os.FileMode) error {
  	return WriteFile(a.Fs, filename, data, perm)
  }
docs: // WriteFile writes data to a file named by filename.
  // If the file does not exist, WriteFile creates it with permissions perm;
  // otherwise WriteFile truncates it before writing.