fix broken format on undefined os.EOL variable in some os.