skip_if_no_temp_access function

Skip test if tempdir() not accessible