cloudfoundry/cli — pull request #84 by simonjohansson (2014-02-21 12:37:37+00:00)
Title: Random tmp path instead of /tmp/cf

Was pulling my hair out yesterday, I could not push any applications all of a sudden

```
Server error, status code: 400, error code: 150001, message: The app package is invalid: bits have not been uploaded
```

Turned out that I had a cf executable in /tmp/[1], which made fileutils.baseTempDir() fail.

This pull request creates a folder with a random name in tmp.
It will leave /tmp a little bit messy since we don't remove the the temp folder after a cf run, but hey, nothing a reboot doesn't solve :)

[1] Tried a different versions of the cf cli, /tmp seemed like the logical place to store it.