fixes directory cache including stale files. fixes #86