mrb: use NUL terminated string