Issue/master/pup 2946 filebucket encodings

This pull request adds an implementation of `#compare_stream` that will properly compare the binary values of two IO streams.
My remaining nit, is that I'd still like to see "In Ruby commit 2142287c..." in the commit message...