Fix corpus export.