And again if a user or bot requests a malformed URL it'll generate a cache file for that request when caching is tuned on, a malformed request will generally just have the sitemap index data of a few lines; if it bothers you then remove them but again as previously mentioned:
- If a user or bot requests this URL again in the future a new cache file will be generated if caching is enabled
- The data in said file is of negligible size and won't save you any space
- Theres nothing you can do to stop this from happening as any request from the script will write a new file.