When the hide_dot_files option is set, a file is marked hidden if the first character in its name is a dot. This patch updates the hidden flag when the file is renamed or hard linked (useful for text editors which create files with a temporary name)