Improve zip/tar extraction