Always flush outputStream, regardless of instanceof FileOutputStream
Merge pull request #137 from mbreese/master

Always flush outputStream, regardless of instanceof FileOutputStream