Use platform-specific path separator

In Windows, `/` can't be used to separate paths, so the manifest file will end up outputting the full paths for all the resources (e.g `C:\some_folder\www-built\js\cached_file.js`), which are unusable after upload to the web server.
I change `/` to `path.sep` to make sure that platform-specific path separator is used instead.