2to3: Apply `raise` fixes. Closes #3077.

Replaces the

    raise Exception, msg:

form with

    raise Exception(msg):

Closes #3077