Write debugging output to stderr (#1059)
Ignore errors in git error handling in verbose mode in Python 3