fix cha buff to string for recordio reader