Convert PDF to HTML in Python