Replace "<fieldset %s" with "<fieldset%s" and add the space if $attributes isn't empty.