I would consider replacing this with a hand-rolled Dart method, to traverse html files and replace matching regexs (~similar to what we do in `_patchDartJsInterop()`). It'll remove an OS dependency in our build script.