Fix a bug in LSM where we could evict a file while it was being used.

It could be used to create a bloom filter. The solution is to create
bloom filters using checkpoints, rather than open files.