Python2 is no longer supported. Convert gitstats using 2to3. Adjust shebang. Fix subprocess output decoding. Update doc.