Recognize 7z files by magic bytes, not filename