Check for existing files before starting any encryption tasks
This prepares the code for the upcoming changes which make the backend
write directly to the output files (which fails in case of existing files)
without piping the encryption results through Kleopatra.
- GnuPG-bug-id: T5478