update litepiesql text_factory to str