fix superclass mismatch for CookbookUpload

...you get " superclass mismatch for class CookbookUpload (TypeError)" depending on load order