Use BufferedOutputStream