Ruby bindings to the magic(4) library, revised.