I think the best place to fix this would be somewhere in [`yeoman/generator`](https://github.com/yeoman/generator). The code handling the template generation shouldn't be adding white spaces every time there's a new line. We should chase it down and file an issue.