Python script to do PDF OCR conversion using Tesseract