encoding git returns as unicode

When subprocess returns from the git calls, the stdout is encoded into
unicode. This should make processing internally easier, and more
consistent with respect to non-ascii characters.