deal with the difference of md5 -r and md5sum