Make Path.String() more robust.