fix handing of xlrd files