Change how cask-file is found
Automatically create tmp directory
Make the right directory