Use correct Path ctor

Closes https://github.com/dart-lang/web-ui/issues/322