Add a BufferedOutputStream around the file stream

to make Buildhive happy