add class Path

HDFS does this. I think this helps when List<Path> needs to be sorted, etc.