Possibly solve a problem with binread on old rubies.
Test on 1.8.7-p358 too, which is the default on darwin.