2to3: Updata `except Exception, msg:` syntax in files not in numpy/ .

This should finish the updating of the exception syntax.
Merge pull request #3028 from charris/2to3-except-update

2to3: Update `except Exception, msg:` syntax in files not in numpy/ .