fix Scrapy 0.25+ compatibility by creating spider classes dynamically