Revert "disable setting process title on Mac (avoid needing to link in ApplicationServices.framework for now)"

This reverts commit fbc6606e287da82e0c4f73ed42b2ed9ffc4f5677.
fix spawn with duplicate or overlapping file descriptors, and help more tests pass