fix ResolverHelper.resolve returning malformed URIs on windows