Rescue if IO throws exception on attempted #rewind

This will permit the passing in of pipes, sockets, or other IO objects that
throw exceptions when you call the #rewind method.