Changed capitalization of file suffixes to make everything work on case-sensitive filesystems.
Handle different line break lengths correctly.
Merge pull request #1 from jl8e/master

Fix OS dependencies