Fixing another tempnam issue #1