Fix sign/encrypt/decrypt/verify of notepad
Use direct file I/O mode of decrypt/verify jobs only if we have
input/output file names. Otherwise, use the mode working on I/O streams.
Similarly, use direct file I/O mode of sign/encrypt jobs only if no
input/output streams are set.
- GnuPG-bug-id: T6351