Fix the LSM readonly flag, only assert that files older than the current one are clean (we can race with updates during compact).