Fix a rare infinite loop in the assembler.
Delete incomplete output files when compression is interrupted.