(encode_eol): Fix typo that prevented converting to Mac