use SQLite WAL journal mode; requires SQLite >= 3.7.0