Make curl follow redirects.

Had this been done from the start there would have been no need for any
changes to adapt to Hackage2.  With this change we avoid future breakages from
the index being moved around.

Signed-off-by: Magnus Therning <magnus@therning.org>