crypto/openpgp: add WrapFile and remove Truncate from Write