Calls `fflush(NULL)` to flush all open buffers.