Fixed bad windows temp file.

I've even "tested" it as much as I compiled couch_plugins.beam and replaced the old beam file of my windows CouchDB installation and posted some data to /_plugins.