emscipten_platform: do not use `append` on String