fix Node windows support for paths

Fixes #242.