Upmarket Australian pie maker Shakespeares Pies is to buy Western Australia's Jesters Jaffle Pies Co.