Relocated html2text.py for encapsulation.