Fix line ending errors