Configure line-ending mangling by filename

Fixes huit/nepho#209
Merge pull request #18 from cloudlets/bugfix/209-force_lf_endings

Configure line-ending mangling by filename