A simple transform stream that limits the max length of the stream.