Fix standard I/O in executable wrapper.

Closes #95.