yeah i would prefer that because it took me more than a glance to understand what you're doing. i think it's much easier to understand if you do ```path = path.split(sep).join('/');```.

also, is this something that other middleware could use? maybe put it in `utils`?