Use async metadata extraction for PDF