make WriteOp fail fast in case file is null
add support for unsigned byte in NetCDF 4 writer