Use a temporary file as the source of 'y' on stdin for the publish IT.

The prior method of pumping yes to stdin of `./pants goal publish`
did not work under travis-ci.  This method does and it also works
when un-suppressing pytest output as well.