explicit io stack in _infix_to_postfix()

This change is made in prep for a function that converts directly from infix notation to a parse tree, which will require the added versatility.