fix: should create null-terminated string from glob-item.