Adds a persistent_lru_cache decorator, like functools.lru-cache but persistent.