delete tmp generate files in case of failure