Support for setting eol, with a default of \n on output