Workaround for FF17 to be able to download the pdf file

Per findings by @vyv03354 at https://bugzilla.mozilla.org/show_bug.cgi?id=847336#c4

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=847336 and #2820.