Don't leak file handles in KisAutoSaveRecoveryDialog
This also permits Krita to actually delete temporary files when discarding them, otherwise, at least on Windows, they were locked.