Fixed Exceptions format for py3k