Magic numbers unpacking

I removed the guessing of what unpack command to use based on the filename,
we are now checking based on the magic numbers.

However, unpacking .tar.gz will now take two steps, first the gunzip, then the untar.
( I have not found a way to check the magic number inside of a .gz file, I guess it will be randomly deformed based on the rest of the archive)