Making curl follow: 301 moved permanently