Added BoundedOutputStream