Extract chld stuff to a separate file.
Check for errors in gzprintfs() in manio.c.