Flag for synchronous sqlite write.

It's faster when OFF.
It'd be nice to have the safe option by default, no? :wink: