wait for 'close' event instead of 'exit' for children of mbpipe

This way, it waits for all the actual data from a child process, not
just when the child closes.

when using mbpipe in practice, I tend to run into issues where some tiles in the modified dataset are empty. This solves that issue.

may be related to https://github.com/mapbox/node-mbtiles/issues/9