commit-tree: cope with different ways "utf-8" can be spelled.