BUG: Updated pdf_document_pdfminer for API changes in pdfminer