Plugin ClamAV, Postscreen, RoundcubePlugins: code optimization