ensured Python 2.5 compatibility

`subprocess.check_output` is only available from 2.7