[Fixes bug #1177749] Add file extension when saving Palette file