Change Path Structure To Work On Windows

Rather than hardcoding "/" characters for file paths, use Javascript
"path" library to make it work across platforms.