This fixes #1083.  It will now export to xlsx.