text: Title: print_exception: rewrite deprecated code
  Body: We have this line:
  
  https://github.com/xonsh/xonsh/blob/55b341d47753967c70a4dcf9ff30690877f66048/xonsh/tools.py#L1056-L1058
  
  But https://docs.python.org/3/library/sys.html:
  
  > These three variables are deprecated; 
  > sys.last_type
  > sys.last_value
  > sys.last_traceback
  > Use [sys.last_exc](https://docs.python.org/3/library/sys.html#sys.last_exc) instead. They hold the legacy representation of sys.last_exc, as returned from [exc_info()](https://docs.python.org/3/library/sys.html#sys.exc_info) above.
  
  We also have related issue with this code: https://github.com/xonsh/xonsh/issues/5408
  
  ## For community
  ⬇️  **Please click the 👍 reaction instead of leaving a `+1` or 👍  comment**
  