be faithful about stderr and stdout remote output order

Fixes #8.