Fix GM line endings