Minor coding style improvement.
Now you get a warning for overwriting file.