handle dots in path