Do the following:
Open Safari
Click Preferences
Under the General tab, uncheck the option Open “safe” files after downloading

Technical notes, and other ideas.
Do the following:
Open Safari
Click Preferences
Under the General tab, uncheck the option Open “safe” files after downloading