Use OS line endings when writing out text files.
Add utility method to ensure OS line endings.
Use line ending utility where applicable.
Merge branch '#48/use-os-line-endings-when-writing-text-files' into develop