Fix SpooledDirectory and DbTaskRunner using LRU cache