Retry opening vtkWrapPython output for writing.
On Windows, there can be sharing violations if a program (e.g. a virus scanner) is reading a previous incarnation of the output file when we try to open it for writing. Retrying is one way around this.