Improve version file generation
Removed pprint module