makes newlines platform-independent