Merge pull request #4392 from libgit2/cmn/config-write-preserve-case Preserve the input casing when writing config files