py3k fix exception message.