Media - Bug 838179 - Allow filenames beginning with dot and ignore directories that begin with dot