Thanks for your response Soonix.
I have tried converting the XLSX to XLS and then to csv using this script and that is converting as intended.
As for Spreadsheet::ParseExcel, it is compatible only for excel 95-2003 binary formats. Spreadsheet::XLSX is compatible for excel 2007
Raj