Make sure we call XFlush() on all code paths (FDO bug #15293)