fix input_stream file reading pos bug (fseek)