Now flushes stdout when writing progress in non-quiet mode.