autogen.py - exit gracefully if envoked with Python3

Currently we only support Python2.
Reviewed by KRF