Fix Finder tests on OS X

... where sys_get_temp_dir() does not return a realpath().