Replace checkpoint lock with btree handle lock to serialize with bulk load.

Reference #1114.