change utf8 to gbk in get_file_handle
add assert after createfile of open_existing