Override sys.excepthook in snake.py