more unique filename for test

I actually had a filename named /tmp/foo and this test failed, because
it was owned by a different user, hence writing to it (and deleting it)
failed. Using /tmp/foo_iptest makes it a bit more unique, and a lot less
likely to be on a given system.
Merge pull request #3413 from ivanov/foo_iptest

more unique filename for test