utils: File writer methods.

* src/core/java/com/dataiku/dip/utils/StreamUtils.java (writeToFile):
  Here.
encoding: Correct.

* src/dctc/java/com/dataiku/dctc/configuration/Configuration.java:
  Here.