Sprite: Name collision bug

If the sprite name is the same name as any of the files in the sprite, then the sprite creation will fail.

This fix checks for this and adds "_sprite" to the file name if there is a collision.