Update CustomOutputStream.java