Split InputReader into InputReader and StreamInputReader.