Use LRU cache mechanism in CAFS to avoid leaking work and result files (fixes #20)