gpg: Avoid multiple open calls to the keybox file.