Compiler: Buffer output

```
--lextest on 67MB to /dev/null
lexer.result.length        9s
lexer.dumpResult().length 10s
PR                        12s
master                    30s
```