calculate bag of words md5sum as bow appears in output - a single line