How to VACUUM SQLite in WAL Mode (and why you need a checkpoint)