Error during the SpiderProcessHandler

If Error during the SpiderProcessHandler, write a text file JOB_FAILED.txt to tell the uploader to upload the files without changing the status (that will be JOB_FAILED)