Rename PlayerUtils.write to PlayerUtils.stringify

Plus, let it return a String, instead of it spitting out on the STDOUT.