Clear tmp files after segmentation