Cleaning up path normalization