Close the read end of the error pipe after the build
Fix file descriptor leak in Formula#system