Set the pdf-extension explicit. In some cases it gives problems if the extension is not given.