Fixed broken md5HashFile (with @DavyLandman)

The bytes of the checksum were directly converted to a string and that
made the result unpredictable (= depending on the default encoding).

`md5HashFile` now returns values that are identical to the output of the
`md5` command line tool.