clean up some files and dirs.