Cache some function returns in filesystem too (experimental).

Also caching some of the strata operations would probably be good.