bug 1138: Some escaping for the GnuPG code