Maybe you can disable the avast self defense module (Troubleshooting tab of settings). Delete the file.
But I’m almost sure that a repair/upgrade/reinstallation will bring it back.