textutils: fix narrow Pythons Unicode char range
textutils: fix narrow Pythons Unicode char range

* Fixed character range issues for systems where Python was built
  with a narrow Unicode support.  (e.g. Mac OS X ports)

inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio