[fix] ensure path works on windows because path.join doesnt like URLs