Fix to make a file read binary if such mode was set.
Add cast to string on binary mode check.
Change binary read fix to be compatible with ruby 1.8.7.
Add binary_mode? private method to File.
Add tests for binary read on ruby 1.9.3.
Change spec for binary_data_in_non_binary_mode to make it clear what
is going on.
Merge remote-tracking branch 'vhl/binary_read_fix'

* vhl/binary_read_fix:
  Change spec for binary_data_in_non_binary_mode to make it clear what is going on.
  Add tests for binary read on ruby 1.9.3.
  Add binary_mode? private method to File.
  Change binary read fix to be compatible with ruby 1.8.7.
  Add cast to string on binary mode check.
  Fix to make a file read binary if such mode was set.
Whitespace fix.