Use cookbook.path.to_s when the cookbook is a CachedCookbook
Merge pull request #2 from RSO/patch-1

Use cookbook.path.to_s when the cookbook is a CachedCookbook