Backend: PDF: Weird fix for a weird memory+file descriptor leak

Signed-off-by: Jerome Flesch <jflesch@gmail.com>