fix end of line char (Mac vs Unix)