Fixed py3k __str__ implementation