tools/genmodule: Put pertask in the name of pertask related variables and functions.