Fixed bug in Path with multiple slashes

Multiple slashes weren't expected in the path class, so having them was
throwing off filename parsing (for each slash, one char off the front of the
filename was being removed). This fix finds consecutive path delimiters and
ignores them until the actual path resumes.