check md5sums instead of comparing files

not portable, because 'md5sum' is called 'md5' in BSD