Changed 'daemon-test.py'. Made the implementation of 'waitChildren'
safer and slightly more elegant. Even better would be using a
bidirectional file descriptor.