2to3: Apply `sys_exc` fixes. Closes #3086.

This uses sys.exc_info in place of sys.exc_value. The new function
goes back to at least 2002, so should be safe.

Closes #3086