PDF: don't write error messages to stdout