added restriction to Python 2.x (see python-bioformats issue 9)