Make Path.splitPath public and static