Getting rid of fruit flies once and for all is as simple as firing up the oven. 