fl: use caches directory instead of tmp