Creates a new cache file in the cache directory

def cache_set(cache_dir, cache_key, content):
    """
    Creates a new cache file in the cache directory
    """
    filename = os.path.join(cache_dir, cache_key)

    with open(filename, 'w') as f:
        f.write(content)