fails:IO#each_byte raises IOError on closed stream
