Ensure all files use UNIX line endings in order to not break regen-modules.
Rewrite regen-modules in Perl.
Regenerate module list.