Escape unsafe chars in GPG output