[GHC] #13296: stat() calls can block Haskell runtime