Ability to modify the output filename extension

This is really a feature suggestion with a bit of code attached.

I would like `tsc` to accept an `outExt