Use sqlite3_snprintf instead of g_strlcpy