code: def packed_workflow(self, packed):  # type: (Text) -> None
          
          self.self_check()
          rel_path = posixpath.join(_posix_path(WORKFLOW), "packed.cwl")
          # Write as binary
          with self.write_bag_file(rel_path, encoding=None) as write_pack:
              # YAML is always UTF8, but json.dumps gives us str in py2
              write_pack.write(packed.encode(ENCODING))
          _logger.debug(u"[provenance] Added packed workflow: %s", rel_path)
docs: Pack CWL description to generate re-runnable CWL object in RO.