use the tempdir also for npm.load