Fixed utils tests to not assume location of tmp directory

t/utils.t presumed the location of the tmpdir returned by File::Spec::tmpdir 
which did not work well on a current perl on a Mac.

Changed it to a slightly grotty regexp - will probably not go well on non-Unix filesystems.