add cross OS Line Ending support