Fix for Windows

when you use larger than COM9, CreateFile() fails.