check_output crutch for python 2.6