Bugfix for windows: loading serial.tools.list_ports_linux and list_ports_osx throws TypeError on Windows instead of ValueError.