Use gsha1sum/gmd5sum if there is no sha1sum/md5sum