Fixed issue in download script that was causing the attachments links on the dataset detail page fail
Credit to Jay van Schyndel at JCU
Fixes https://github.com/redbox-mint/redbox/issues/47