iotlab driver: Applying Jordan's changes in iotlabslices.py