Fix line ending issues