(fix) indent code within IIFE

When passing functions, files generated have code indented within the
IIFE.