Fix Python 2.x __str__ override