Use md5() instead of hash() for md5sum

Although the PHP docs say otherwise, hash() isn't available everywhere, whereas md5() is.

I'm running ownCloud on an ARM-based router running TomatoWRT with PHP5.5, and it doesn't have any extensions installed.  It complains that hash() is not a known function, but is quite happy with md5() as a replacement