Remove redundant temporary files.