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

Replaces the

    raise Exception, msg:

form with

    raise Exception(msg):
Merge branch '2to3-raise'

Use modern raise syntax for python 3 compatibility.

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