Please, modify also the encode() function at OrionCKANSink.java (and check that its usage is coherent in that class with what have defined for this replacemente (i.e. only in things that at the end in a filename).

Until we can unify common functionality in the sink classes, I'm afraid we need to do this kind of manual synchornization between classes :(