Fix #4261371315329: Cleanup tmp directory after compressing it.