Flush stream buffer in ~uofstream.