Fixed bad windows temp file
Fixed bad windows temp file

Used filename:join to prevent duplicate slashes.
Acquired temp dir from mochitemp:gettempdir.

Signed-off-by: Alexander Shorin <287dfd97d2274fe201ae7191a244ba25e475e13a@apache.org>

fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb