Fix --ratio bug, add internal globbing for Windows systems