sqlite improve dump method