Path-class function

Coerce a character string to a class "Path"