Rather than throw an exception when it discovers an existing env.txt file, maybe just remove it? Or maybe just throw a warning rather than a build halting exception. Or maybe there's an OnBuildFailed event where it could clean that up. It's a nuisance to have to manually delete the file that was auto generated.
Thanks for the nifty little utility! Much appreciated.