As of SourceForge 4.2, it is possible to configure the application to force your users to download files, instead of having them open within the browser.
sf.safeDownloadMode=allOnce the line is in place, simply restart SourceForge for it to take effect. SourceForge sets this to None by default, which means that the user's browser will present them with the normal open/save pop-up when clicking on files in SourceForge. When setting this to All, that pop-up will be altered so the user's only choice is Save. You can also set this value to html to force the user to save only html documents, while allowing all other content to behave as normal.