If the flour is indeed rancid, call the co that you got it from, and tell them. They surely dont want to send an order of rancid product to a customer. You might have to send them a sample of what you got, to prove the product was not fresh.
Call the company to fix the problem, if not satisfied with customer service, ask for a manager.
Pizzaholic