wtf: Java file stream are cyclic.

* src/core/java/com/dataiku/dip/utils/StreamReplacementReader.java:
  Here. Add a boolean switch to need if we have reached the end. Reset
  it, to keep the cyclic behavior of Java.