Fixed download function with header active
Fixed download function with header active

The problem was because when the header is active, the header line not has added the end line character, causing the next line of data appears next to the header instead of in a new line.
paulhodel/jexcel,paulhodel/jexcel