code: func writeToTar(out *tar.Writer, name string, body []byte) error {
  	// TODO: Do we need to create dummy parent directory names if none exist?
  	h := &tar.Header{
  		Name:    filepath.ToSlash(name),
  		Mode:    0755,
  		Size:    int64(len(body)),
  		ModTime: time.Now(),
  	}
  	if err := out.WriteHeader(h); err != nil {
  		return err
  	}
  	if _, err := out.Write(body); err != nil {
  		return err
  	}
  	return nil
  }
docs: // writeToTar writes a single file to a tar archive.