Automatically replace filename extension based on image format selected.
We are now outputting files with extensions based on image filename rather than image format selection. To make the flow even better, we are updating the image filename extension automatically when we change the format selection. Closes #273 (closed)