Fix EINTR handling file variables.