Modify WiredTiger's wrapper layer

- Use transactions with `sync` option, rather than checkpoint.

- Add a global option for checkpoint period.