Improved parsing of  ioredirects to {var} so that var expansion doesnt
occur