Fixing a bug previewing files in 'sort' option on CygWin