added missing line endings (-l) support for windows and solaris
Merge pull request #225 from mhaskel/ensure_newline_cherrypick

added missing line endings (-l) support for windows and solaris