Fix file:// URLs not matching tail wildcard

Ensure that URLs such as `file://foo/bar/baz.md?busted` are matched.