cleanup temp files after scan