That error happens if the download is corrupt.
it is usually caused by selecting the option to open the extension.
when you click the download link, you will have an option to open it or save. always chose the option to save it.
only after it has been saved to your computer should it be opened to install it in the extension manager.