A CommonJS port from the ESM file-type package. Now fixed to not have 'tarHeaderChecksumMatches' error!