fix unintended aliases

It seems that this should be "IsBinary", not "IsUnicode".