Fixed undeleted local tmp file