Get rid of SED_I hack. Speed up template substitution.

The old commands parsed the emscripten output 5 times to make a few
substitutions. Now only the small template file is scanned, once.

This achieves 0.3s coleco build speedup.