Bug 1036821 - git commit hash isn't wrote to settings/resources/gaia_commit.txt on Windows

yeah and we should throw error if we got a non-zero exit value, will add it.