modernize utils.write_index
Modernized `z2_kgs` code and updated it to work with Github.
prepare