Fix code file upload

$this->setFile(null); is wrong because $this->temp was fill with $this->path
So the uploaded file was deleted just after uploaded