README: suggest sudo for make install
undup-core: fix half-hash bug introduced with sha512; fix do_hash to be more robust