Creates the cache directory if it doesn't already exist. Returns the
        full path to the specified file inside the cache directory.

def _get_path(self, filename):
        """Creates the cache directory if it doesn't already exist. Returns the
        full path to the specified file inside the cache directory."""
        tempdir = settings._temp_directory
        if not os.path.exists(tempdir):
            os.makedirs(tempdir)
        return os.path.join(tempdir, filename)