nimble init uses \n instead of platform specific linebreak
https://github.com/nim-lang/nimble/blob/master/src/nimblepkg/init.nim

Multiline strings are used here which seem to always give `\n` no matter what the source file uses. This creates files with just \n and not \r\n on Windows.

Possible solution is `p` template mentioned [here](https://github.com/nim-lang/Nim/issues/7202).