Add stdout capture for post recording

For some reason this is needed on the raspberry Pi.  Not
fully sure what's going on there yet.