If class ZipArchive does not exist, export to excel5 instead of excel 2007