Use a tmpdir outside the workspace for build scripts

Avoid creating files in the workspace so that git clean doesn't have to
worry about them.

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>