fix path.join changes slash to backslash in windows

path.join changes slash to backslash in windows

for example

    path.join("/a", "a.js") => '\\a\\a.js'

so in function readFromLocal, the 

    if (repPath.indexOf('/') == 0)

will be false