Python 3.3 compatibility: fixed what 2to3 complains about, also changed force_unicode to force_text.