Fixed a bug on checking PDF files for text
Added DPI check for non-OCRed PDF files