Stop windows path \ being sent to amazon s3

Path.join when run from node on windows converts the file system reference to windows \. When uploading to s3 amazon seems to be interpreting these as part of a file name instead of creating a folder structure. I have implemented a quick regex hack to reverse this.