MAINT: h5py.File cannot take 'wb' as a mode