Set to lf, in case users don't have core.autocrlf set.
Use the new .extend() method instead of util.inherit

Allow generator to be composed with each other.
Add test mockPrompt and expected file.