Pathify `module` subgenerator