Downloading onto a different drive throws an EXDEV error

As posted on the [Headstart issues](https://github.com/flovan/headstart/issues/6), downloading files into a directory on an external drive will throw an EXDEV error. This PR puts the tmp folder directly inside of the working directory (cwd) and cleans up afterwards through rimraf.