Adapt send excel method to kohana 3.3