unix: reap child process

Don't leave zombie processes behind, reap the child process when it's
done writing out the snapshot.

Fixes #16.
npm: publish v0.2.1