Fix use for path.join etc. for web paths as opposed to platform paths.