Add test case for stdio.

Check that reading from / writing to pipe IO objects works. This functionality
is being used by the UCLA folks, so it seems prudent to verify that it works.