`unicode()` doesn't exist in PY3, changed to `str()`
Switched usage of `str()` to `six.text_type()`

Removed unused import
Merge pull request #736 from jsma/py3-fix

`unicode()` doesn't exist in PY3, changed to `str()`