Add a normalize() method to Path objects.