I have prepared a fix , and its in the svn , I have mailed you what should be a working patch and I hope it will be fine .
As far as I know google accepts up to 50,000 urls per sitemap , so you should have made it .