That sounds like it should work.
The firmware seems to be looking for the following in the file:
Code:
<\?xml[^>]*>[^<]*<BuildInfo
Unless there is something in the headers that is needed, then I would think returning the correct file is all that is needed.