reghack: cleanup /tmp rubbish if reghack fails