Workaround for a subprocess bug in python 2.7.1 (GENI)