Fixed bad windows temp file

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

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