Delete output file on failure