Follow redirect on user data URL download

Recently gist.github.com started redirecting to gist.githubusercontent.com
for raw downloads.  While you can just put the gist.githubusercontent.com
URL in the user data it would be nice in general to follow redirects for
the download.