Fix logic mistake in mread_buf.
Language file writing