The Win32:Malware-gen is a generic detection so is more prone to a false positive, but it isn't unusual for avast to be the only one to detect, but also be correct.
From the avast chest, right click on the file and this time select Submit to virus lab... and periodically scan the file from within the chest. If it was an FP then the signature should be modified and the file will no longer be detected.
- In the meantime (if you accept the risk), add the full path to the file to the exclusions lists (see Note below):
File System Shield, Settings, Exclusions, Add and
avastUI > Settings > Global Exclusions
Restore it to its original location, periodically check it (scan it in the chest), there should still be a copy in the chest even though you restored it to the original location. When it is no longer detected then you can also remove it from the File System Shield and avastUI > Settings > Global Exclusions lists.
Note: When using the Browse button it only goes down to folder level accept that. Now open the entry in the exclusions and change the \* to \file_name.exe where file_name.exe is the file you want to exclude.