removing the need for the six module while keeping Py2/3 compatibility

I noticed that there is relatively little use of the six module in the project, and these minor changes remove the need altogether.
2.6 and up is fine with me.