Fixed excel export

Excel export fixed. Removed empty lines in excel file (by adding
ob_clean function).