Use temporary directory for publish local

Testing Done:
Locally.

CI.
https://travis-ci.org/pantsbuild/pants/builds/27161708

Bugs closed: 195

Reviewed at https://rbcommons.com/s/twitter/r/469/