Fix #958: Error creating SQLiteDatabase