fixed the temp dir problem
pirsf, not pfirsf