Properly join temporary path.