Fix for regression in scipy

Patch around a Scipy regression where they are sending nparrays to image.resize.