Don't use U mode, removed in python3.11