Update xls_utils.py

Bug fix to deal with error in line 44 from attempt to .encode and int or long.