Forget about it, I saw that there were a previous failed attempt to create the file that left some file and apparently they could not be overwritten. I now solved the issue.