The string returned from this method will be autoreleased, which will wreak havoc when `git_strarray_free` is called. We should run it through `strdup` (which also removes the need for the cast).

Also, this can just be `string.UTF8String`.