Fix pdf filename end with .pdf.pdf