fixed textreader's file pointer rollback missing bug