Factor out compressed file handling.
Workaround for the fact that RAR uncompression can preserve file mtimes.
Also decode sub ID from iso8583-1.
Make sure we detect sub contained in .rar files by cleaning up the temp dir beforehand.