I think you need the `g` flag to that it replaces more than one: `replace(/\\/g, '/')`. I can merge this in soon and fix it if you don't get to it.