Python2 compatibility fix on str() function
Merge pull request #41 from synasius/fix-str-issue

Python2 compatibility fix on str() function