Experimental stdio wrapping functionality