Support pdfFilenameBase param to control the base used
for the pdf file generated by autopdf.