Make BufferInputStream throw IOExceptions for out-of-bounds accesses