IronRubyのString#bytesizeが定義されていません。
具体的にはIronRuby Consoleで
>>> "abc".bytesize
(ir):1: undefined method `bytesize' for "abc":String (NoMethodError)
この様になります。
対処としては
class String
def bytesize
self.GetByteCount
end
end
この様な内容でスクリプトのファイルを作って必要に応じてrequireする手があります。