Commit parser

Maybe it is better to use `sys.stderr.write`, since it is portable to Python 3. Not sure, @gregarndt what do you think?