BUG: Memory overflow in null stream implemented as string stream.