code: func TempTarFile(path string, data []byte) (string, error) {
  	filename := filepath.Base(path)
  	f, err := ioutil.TempFile(os.TempDir(), filename)
  	if err != nil {
  		return "", err
  	}
  	name := f.Name()
  	defer f.Close()
  
  	tw := tar.NewWriter(f)
  	defer tw.Close()
  	hdr := &tar.Header{
  		Name: filename,
  		Mode: 0755,
  		Size: int64(len(data)),
  	}
  	if err := tw.WriteHeader(hdr); err != nil {
  		return name, err
  	}
  	_, err = tw.Write(data)
  	return name, err
  }
docs: // TempTarFile store and tar bytes to a file