Fix the check in 4660f44381e6f686b0cf3ded08564104c277e00a for special files.