truncate title for sheet name to 31 characters in excel export, otherwise xlwt will have exception