Almost - the special escape sequences used in double-quoted strings use backslashes, not forward slashes, so "\n" would give you a line break.
Also note that you could/should do this all in one fwrite() call:
fwrite($handle, $_GET['version'] . "\n" . $_GET['version2'] . "\n\n");
Also, don't forget to check if the two GET variables are even set before you try to write them to a file (a function like [man]isset/man would help).