docs: def rewriteLoadCommands(self, changefunc):
          """
          Rewrite the load commands based upon a change dictionary
          """
          data = changefunc(self.parent.filename)
          changed = False
          if data is not None:
              if self.rewriteInstallNameCommand(
                      data.encode(sys.getfilesystemencoding())):
                  changed = True
          for idx, name, filename in self.walkRelocatables():
              data = changefunc(filename)
              if data is not None:
                  if self.rewriteDataForCommand(idx, data.encode(
                          sys.getfilesystemencoding())):
                      changed = True
          return changed