Sounds the heuristics messed up, you could just disable Avast, exclude the file and re-enable Avast.

Unfortunately heuristics is what most AVs rely on, given the amount of codes created every day. But they often mess up.