Clean up path.