check_output is not available on python 2.5 and 2.6