patching file terminaltables/terminal_io.py