working bzip2 support