Use BufferedOutputStream
Merge pull request #1001 from everett-toews/BufferedOutputStream

Use BufferedOutputStream