    # File lib/chef/file_cache.rb, line 39
          def store(path, contents)
            validate(
              {
                :path => path,
                :contents => contents
              },
              {
                :path => { :kind_of => String },
                :contents => { :kind_of => String },
              }
            )

            file_path_array = File.split(path)
            file_name = file_path_array.pop
            cache_path = create_cache_path(File.join(file_path_array))
            File.open(File.join(cache_path, file_name), "w") do |io|
              io.print(contents)
            end
            true
          end