safely set TMPDIR env var in test
safely set TMPDIR env var in test

[finishes #146309153]

Signed-off-by: Joe Kirwin <4556a81406374378b9bacdf18febb819bdfe4ee7@pivotal.io>

pivotal-cf/cred-alert,pivotal-cf/cred-alert