The only reason I can think of is that your anti-virus software is rescanning the executable file every time it changes. If you save the file with a different extension does that resolve the issue for you?