tools/smaz: add compression of an input list of strings