Workaround for the O_NOFOLLOW problem.