Either is correct. The United States tends to prefer the term 'applesauce', where the UK often uses 'apple sauce.