write version info to version.py