lib/sqlite3: fix conversion of NativeString to String