[SPRITES] Allow the separator for generated class names to be customized.

Usually this is set to an underscore instead of the default
value of a dash for those people who prefer underscores.
This addresses a backwards incompatibility introduced in 4e9f740.