Added download attribute for correct filename + extension

Improved the user experience by putting the user-defined palettename
plus correct extension in the 'download / save as..' interface.