fails:IO#rewind positions the instance to the beginning of input
fails:IO#rewind positions the instance to the beginning of input and clears EOF
fails:IO#rewind sets lineno to 0
fails:IO#rewind raises IOError on closed stream
