Changed so that download paths are more platform compatible