io: unit test fixed (probably by breaking non-blocking mode for named pipes, but we seem to have abandoned using them anyway (blocking mode seems to work)