URL decode image paths when exporting to PDF (see #6411)