Weird. We explicitly strip the `file://` prefix from the URL when opening URLs on Windows. I don't remember why we did this. Though even when keeping the prefix, the URL opens but the anchor is stripped and ignored.
I'll debug this further at the weekend.