fixes worker url, require toUrl could not reconstruct the file extension in my setup.