This should avoid issues when user submit a non-existing filename that is wrongly identified as CSV. Typically https://github.com/PHPOffice/PHPExcel/issues/1076 and https://github.com/PHPOffice/PHPExcel/issues/1078 could have been avoided.