create temporary files in the same place as the cache directory. cache directory will need to be cleaned up anyway.
changes. testing now.