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

The only difference is that we won't print out error message if the command goes wrong (stderr) , but I think it's ok.