Fix unpacking tar files in PHP5.5