Make check_disk work on Windows.