not all temp files have been written to user defined temp path, some
were still written to default temp path. fixed that