Fix issue with gitlog when output contained utf8

When the git log command contained utf-8 characters, coveralls crashed with a
UnicodeDecodeError. This patch keeps the original behaviour unless the
UnicodeDecodeError is raised and will decode the text as utf-8 instead.

It might be cleaner to fix it by looking at the current locale or just assume
utf-8 but this seemed like the easiest and safest change for the time being.