Do not output \x01/\x02 symbols for non-prompts in ipython

Should fix #664