Quick Googling suggests Safari mangles downloads. I'm guessing that Safari is ungzipping the file and producing a tar file. Renaming might not help as the archive is now different.
As per
this, disabling 'Open "safe" files after downloading' under
Safari > Preferences > General might fix the download issue.
Or alternatively, I would also try downloading with Firefox as suggested by @JSWolf and give it a try.