Move back to using a sphinx-build subprocess.

This partially reverts 2934a1e9ad3a1ede976be9d08254edc2d38ddd1e.