RF: check equality not string for netcdf doctests

to avoid difference between b'' and '' on Python 2