[Sprint: 40] XD-2483 Add codec option to hdfs-dataset sink

- also partial reversal of earlier change in XD-2409 Changing correlation-strategy-expression

- depends on PR 1347