Fix #266. Set curl to follow redirects

raw.github.com has moved to ra.githubusercontent.com, but curl does not
follow redirects by default. Adding the -L flag to curl invocations
sets curl to follow redirects.
Merge pull request #267 from stooj/master

Fix #266. Set curl to follow redirects