Fixed writing to sqlite3 database files