improve support for gpg diff'ing