Fix crash and error handling in print seckey
When the gnupg process finished it previously could have
deleted the command while the paperkey process was
still not fully done.
This also does no longer show the print dialog when
the export was aborted.
- GnuPG-Bug-Id: T3868