Make a path object.