testing if bz2 exists in python