Fix string type check in scipy backend
Fix version check of netCDF4