fix IO::Spec::Win32 warn due to ?-quantifier

a fix for a tiny bug that I noticed when writing tests