Remove the output file if we encounter an error