Use md5() instead of hash() for md5sum

Although the PHP docs say otherwise, hash() isn't available everywhere, whereas md5() is