make temp directory platform better work cross-platform