Prevent objectMode streams. Closes #2255