Use Python 3 Compatible Range in Textwrapper (fixes #195 for v2.x)

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.