Ensure correct Path Separator with prefix option

I've got problems while using the prefix option in a windows env.

Replace the path after joining the prefix with the url solved the problem.