plug-ins: file-pdf-save needs two return values now for the error message

(cherry picked from commit d0c67f84c8e55197c57a5c85ba37ec0335510457)