Fix for bug #6 @ https://github.com/hgrecco/pyvisa-py/issues/6