Merge pull request #503 from arrbee/git-buf-always-cstr Make git_buf functions always maintain a valid cstr