Fix temp files