Bugfix: Intermediate encoding was not triggered in batch mode.
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  Bugfix: Intermediate encoding was not triggered in batch mode.