Anything I can add to the registry to fix this (can I just add some keys, or copy them from another filetype or something like that)?

Go to HKCR*\shellex\ContextMenuHandlers, copy the avast subkey and put the same (subkey) to
HKCR\piffile\shellex\ContextMenuHandlers

  • hopefully it will work.