added PHP 5.4 support for strings in Bz2 and Gz decompress