dataset: Replace 'compactor' by a translating casewriter.