Raise a TypeError when text_content is passed bytes, so we get an error as early as possible.
Merge pull request #83 from thomir/add-text-content-check

Raise a TypeError when text_content is passed bytes, so we get an error as early as possible.