Fix writing the bayes words file for the first time.