Remove *all* trailing periods when making win32 paths
Fix crash when calling Dir->relative with arguments