Configurable EOL type.

There are two configured EOLs:
1. win, for Windows based operating system. EOL set to \r\n.
2. unix, for Unix alike operating system. EOL set to \n.

Signed-off-by: Toha <tohenk@yahoo.com>