replacing logging with exceptions in GPG utilities (prepare for
encryption in messages) - adjustment for #176