Replace sqlite3_open usages by sqlite3_open_v2