Remove generated .h file if the generation process fails.