code: def put_data(self, out_path, data, mode=None, utimes=None):
          
          self.get_chain().call_no_reply(
              ansible_mitogen.target.write_path,
              mitogen.utils.cast(out_path),
              mitogen.core.Blob(data),
              mode=mode,
              utimes=utimes,
          )
docs: Implement put_file() by caling the corresponding ansible_mitogen.target
          function in the target, transferring small files inline. This is
          pipelined and will return immediately; failed transfers are reported as
          exceptions in subsequent functon calls.
  
          :param str out_path:
              Remote filesystem path to write.
          :param byte data:
              File contents to put.