Python 2.6 compatibility

* subprocess.check_output()
* logging.NullHandler()