Pass in bufferSize to BufferedOutputStream