So `pathSep` is either a regex that matches `\/` or the string `'/'`? I don't like it.