Ensure atomic writes are fully flushed to disk.