transform(chunk, enc, callback) {
      const str = chunk.toString().replace(pattern, replaced);
      this.push(str);
      callback();
    }
str.replace (stream version)
rs.pipe(replaceStream('</body>', '<script src="xx.js"></body>'))