added fflush()

added fflush() so that "vmstat 1 | tcat" works.