flush buffer so user can see the download is working
Merge branch '4.0/flush-excel-download' into 4.0-trunk