Added .pdf to the filename of pdf downloads

Some computer systems won't properly handle the downloaded files if they don't have the pdf extension
Merge pull request #130 from ArthurGuy/master

Added .pdf to the filename of pdf downloads