tmp dir multiprocess hack