Transform python 3 raise to python 2 AST