Fix tmp paths