I'm using fprintf to print strings to a file, but I can't get it to make a new line.

Here's my code:
Code:
char buffer[80];
FILE *f;
f = fopen ("tester.txt", "wb");
fprintf(f, "HELLO\nWORLD\nIt's Good\nTo See\nYou");
fclose (f);
The output I'm hoping for is:
HELLO
WORLD
It's Good
To See
You
But instead I'm getting:
HELLOWORLDIt's GoodTo SeeYou
thanks for your help