More xmlrpc cleanups

Remove the remaining sys.stdout.write calls and use the response.write
method instead.