Improve SequentialInputStream