Preserve line endings in templates.
Merge pull request #21 from groner/preserve-line-endings

Preserve line endings in templates.