code: func (n *Netrc) Save() error {
  	body := []byte(n.Render())
  	if filepath.Ext(n.Path) == ".gpg" {
  		cmd := exec.Command("gpg", "-a", "--batch", "--default-recipient-self", "-e")
  		stdin, err := cmd.StdinPipe()
  		if err != nil {
  			return err
  		}
  		stdin.Write(body)
  		stdin.Close()
  		cmd.Stderr = os.Stderr
  		body, err = cmd.Output()
  		if err != nil {
  			return err
  		}
  	}
  	return ioutil.WriteFile(n.Path, body, 0600)
  }
docs: // Save the file to disk