improving the Windows folder-separator handling