Accept complex filenames with more dots.

- Names that have more than one dot.
- Names that start with a dot.