I had this problem just now and managed to fix it. It has something to do with the temporary write directory. I didn’t have one set up in my php.ini. I set it to “/tmp” as I’m using my mac, and it worked perfectly.
If your blog is hosted someplace else you might want to contact the hosting administrator.