Add compatibility shim for tarfile.open