A chef shared a DIY four-ingredient trap that will keep fruit flies at bay, and other steps you can take to stop them from returning