Null-terminate the string passed to sqlite_open_v2.
Optimization: get column length from SQLite when marshalling UTF-8 strings.