add support utf8, fix file readback bug