In deleteUnzippedFiles(), have getTmpPath() return a non-const so we can pass it to free().
Under anything bug Windows, use unzip instead of 7z.