def write_contents(asset_folder, contents)
      contents.recursively_stringify_keys!

      FileUtils.mkdir(asset_folder) unless File.exists?(asset_folder)
      filename = File.join(asset_folder, 'asset.conf')

      #TODO, use "wb" and write CRLF on Windows
      File.open(filename, "w") do |f|
        f.write(contents.to_conf)
      end
    end
def write_contents(asset_folder, contents)
      contents.recursively_stringify_keys!

      FileUtils.mkdir(asset_folder) unless File.exists?(asset_folder)
      filename = File.join(asset_folder, 'asset.conf')

      #TODO, use "wb" and write CRLF on Windows
      File.open(filename, "w") do |f|
        f.write(contents.to_conf)
      end
    end
write raw contents to an asset_folder