tsan: intercept closedir