Remove the atexit function for spawn.ProcessFarm
Add escape function xml escape