Fixing the way to follow redirects when fetching XML files.
See: 689745d7054fb7adae1b1f1faad99945c1a65521