Default download attribute fix

Extension independant
Merge pull request #39 from GeoffreyFrogeye/defaultDownloadAttributeFix

Default download attribute fix
Merge pull request #5 from chrisrobins/master

Merge from upstream