Clean up directories and files.