Whenever that happens on an internet download, the following usually works:
Right-click the link to download the file and choose Save Target As... I don't know why this prevents corrupt downloads, but I think its because the browser handles the download in a different way that prevents the corruption. In other words, I blame the browser for when the problem you experienced occurs.