Write freelist after each commit.

Well, this is embarassing. Somehow the freelist was never getting written after each commit.
This commit fixes that and fixes a small reporting issue with "bolt pages".
Merge pull request #102 from benbjohnson/fix-freelist

Write freelist after each commit.