cmdutils: remove list_fmts(), simplify