Proper handling of the singular form in the result message.

This changes the resultMessage from

    3 Files created. js: 1 files, map: 1 files, declaration: 1 files

to

    3 files created. js: 1 file, map: 1 file, declaration: 1 file