Changed: use standard flushToDisk method.