Additions to https://github.com/espressif/esp-idf/pull/7021
Fix a regression of b77addea2f: The ANSI color converter returns a class on Windows instead of an object so its methods won't be callable and will result in a not so helpful error message: "idf_monitor failed with exit code 120"
b77addea2f