Flush output stream (output was being truncated at 96 kb)

Bug fix affecting any report with output larger than 96 kb. My gut feel is that it should be pushed upstream to the VB.NET sources as well.