Avoid flushing at the end of each chunk Tools should not read thelogfile when the deferFlushing is active + add test
Ensuring that the buffered stream has been flushed when reading thesource code.