[fix] OpenSearch Description File not generated correctly. Fixes #1557

Fix for tracker [#31513] OpenSearch Description File not generated correctly as seen here: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=31513