fails:IO#eof? should not consume the data from the stream
