Add a ContractFail callback for scrapy