Tidy paths. Remove generated files.