Cleanup directories.