Change write_from_list to use writelines()

Preparatory to passing in a completely translated list in order to write
a translated file.