db_sqlite3: fixed missing database directory