transform line separators to LF