code: protected void storeSnapshotProps(String spaceId, String serializedProps) {
          InputStream propsStream;
          try {
              propsStream = IOUtil.writeStringToStream(serializedProps);
          } catch (IOException e) {
              throw new TaskException("Unable to build stream from serialized " +
                                      "snapshot properties due to: " +
                                      e.getMessage());
          }
          ChecksumUtil checksumUtil = new ChecksumUtil(ChecksumUtil.Algorithm.MD5);
          String propsChecksum = checksumUtil.generateChecksum(serializedProps);
  
          snapshotProvider.addContent(spaceId,
                                      Constants.SNAPSHOT_PROPS_FILENAME,
                                      "text/x-java-properties",
                                      null,
                                      // Ensures that length is based on UTF-8 encoded bytes
                                      serializedProps.getBytes(StandardCharsets.UTF_8).length,
                                      propsChecksum,
                                      propsStream);
      }
docs: Stores a set of snapshot properties in the given space as a properties file.
  
  @param spaceId         the space in which the properties file should be stored
  @param serializedProps properties in serialized format