put the api version hash in a text file