Invalidate cache when a new directory is created.