implement serial open on windows