Use os.EOL instead of custom solutions