Fixed missing reference to ByteArrayOutputStream & BufferedOutputStream