convert some line-endings