Improve error reporting for DOC file problems
* src/doc.c (get_doc_string): Report all serious errors when DOC cannot be opened, not just fd-exhaustion errors.
* src/doc.c (get_doc_string): Report all serious errors when DOC cannot be opened, not just fd-exhaustion errors.