public void set(int index, String value) throws IOException {
      Writer writer = null;
      try {
        OutputStream os = new FileOutputStream(getFile(index));
        writer = new OutputStreamWriter(os, Util.UTF_8);
        writer.write(value);
      } finally {
        Util.closeQuietly(writer);
      }
    }
Sets the value at {@code index} to {@code value}.
core/src/main/java/com/bumptech/glide/disklrucache/DiskLruCache.java