Flushes any buffered rows and closes the backing database, releasing the file handle so the tabular file can be deleted (required on Windows, where an open handle blocks deletion). Idempotent; after close the file must not be written or queried.