The flies might be attracted to other organic matter in your quails' pooping area, though I have read that they do go for poop, too. Do you feed them veggie scraps that fall through the cage?
I would suggest to attract and farm the BSFL in other ways, besides depending on the quail poop to do...