Use PushbackInputStream instead of SequenceInputStream