Avoid use of Python 2.7 specific subprocess.check_output. Fixes #192