Write version to file. Split version