plug-ins: use standard error on failed file descriptor in file-pdf-save.

The standard message used all over our code is:
"Could not open '%s' for writing: %s".
(cherry picked from commit 4ae597c586f309d5268ef39ceac5a5adafd329e7)