sqlite: do a BEGIN EXCLUSIVE TRANSACTION in force-lock mode.