use toFileUrl instead of manually creating file URL per https://github.com/deitch/jsdom/commit/729c90ec9efb1daff47b5d48ffa9b7857276f94e#commitcomment-2498893