Use Python 3 Compatible Range in Textwrapper

This has already been fixed in the v3 branch, but it would be great if this fix could be released as a quick fix for the v2. I raised the problem in issue #195