Il faut faire attention à quel méthode du writer tu utilises.
http://docs.oracle.com/javase/7/docs/api/java/io/BufferedWriter.html#write(int)
En l'occurence, write(int) c'est écrire un caractère par rapport à son code, et non pas la représentation en texte du nombre.
A la limite, pour faire simple, fait plutôt ceci :
String scoreEntry = nom + " " + textscore.getText();
bw.writeLine( scoreEntry);