use temp filename, not curdir
PEP8
Merge pull request #710 from ged-lab/fix/test-tempfiles

use temp filename, not curdir