fix extras/test bugs due to IO changes

stdout_stream changed type, and show(expression) changed spacing.