fixing slashes for windows

path.join gives backslash on windows, replacing with forward slash.