Allow running the watchdog with python3
This is a nice to have: python2 is already deprecated and I thought it would make sense to update it without breaking backwards compatibility. Tested and produces same output both with python2 and python3 than with master and python2