[node plugin] Try to make path manipulation windows-safe

Issue marijnh/tern_for_vim#18