use the local tmp dir not system

more windows stuff