fix for IO#read_nonblock
Merge pull request #339 from hqmq/michael/github338

fix for IO#read_nonblock
Keep tests 338 and 339