use_filename tests and unique_filename support
added support for unique_filename multi and generateSprite