reports: fix saving external pdfs