Remove unnecessary tmp files