py3k fix with six.