Use subprocess instead of fork when running gpg.