Ensure a module has a children property
Support module.filename property