Fixed char-array writing