Convert config file and libgit2_opts directory paths to posix on Windows