Bugfix deletion of tmp files