Sounds like it is either created or downloaded if you start the game.
If it is downloaded, perhaps you can block the download in the hosts file or firewall.
If it is created, there is nothing you can do about it unless the game has a switch that can do so.
Anyway, this has nothing to do with avast.
Ask the developer of the game.