Safari Extensions are contained in eXtensible ARchiver files, so the contents can be extracted using:
xar -xf extension_name.safariextz