I use Google Sitemap generator WordPress plugin in this blog which creates a compressed (gzip) version of the sitemap data. Suddenly the plugin has stopped working!

On investigation I found that the gzencode routine (in php) is failing for unknown reason. Any pointers on what could cause this?