tar and gpg fixes