Add a configuration option to allow transforming the output file names

My current use case for this is that I need to do several builds (i.e., run the optimizer several times), one for each language so I can have, for example:
- app_en-US.js
- app_ru.js
- app_pt-PT.js