Directories cannot end in a '.' on windows