Fixed performance issue with IOException in FastCharStream.