add line endings