Fix file.listFiles() returning null in case of a broken symlink.