Removed hard coded /tmp in favour of real OS temp

Now supports windows correctly.