Use six when checking for strings.
Merge pull request #70 from rmsaksida/master

Use six when checking for strings.