Clean up paths.