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