Code style changes.
Always process transform stream buffer on end, even if empty.