add cache directory check
Merge branch 'master' of https://github.com/nessos/DistribFsi