why not just try an remove the file before processing the python files?