Better compatibility for `rake integrity_yaml`

On OSX, running `rake integrity` doesn't work (for me at least) because it uses the `md5sum` command line tool via back-ticks.

Instead, I've implemented the same functionality Ruby's `Digest::MD5::hexdigest` method.