Revert "sqlite: disable WAL because of spec fails"

This reverts commit f23d262f3e55bb7a71e0afd4ddfba2a12300c8b3.