add option to define the lineend characters, supported: LF / CRLF

Hi,

in order to extend the script to produce playlists in Unix and DOS/Windows Format, independent of the execution platform, I add support for the different line end characters.

cheers
Frank