Read stderr from cpu count command to avoid hang

Leaving stderr unread causes hangs.  I don't remember why, though, the
documentation somewhere probably says.

See #268