Making typescript compiler happy

Typescript 1.0.0 error'd on this line, I suspect because Path is defined as a class not an interface. Changing from implements to extends made the error go away. 

hth, brett
Merge pull request #2021 from domesticmouse/patch-1

Path is defined as a class, thus extending not implementing Path.