I know this is old, but since I figured out my problem and it is not listed here, I thought I would share it. I had the same error, and I tried everything and nothing worked. I finally read here and the last comment that the poster talks about downloading a file on Windows, and then moving it to a Mac caused it problems.
Good, why I was wrong. As soon as I downloaded the file from Mac BAM! he worked.
source share