Fix backport of IO.binread for Ruby 1.8

Closes rspec/rspec-mocks#216