add a write stream to the sqlite3 package