Check, if tmp-files exists, before deleting them (in case of an error)