function toFilePath(browserPath) {
  return browserPath.replace(/\//g, path.sep);
}
Transforms a file system path to a browser URL. For example windows uses `\` on the file system,
but it should use `/` in the browser.