check certs and save with same name

curl should check for certs (hence no -k) and not follow redirects (no -L) to improve security a bit, and with -O it saves the a file with the remote name on the current directory, no redirect needed
Merge pull request #37 from santagada/master

check certs and save with same name