Tmpdir fix 62699880

This is a fix related to issue [#480](https://github.com/cloudfoundry/bosh/issues/480).