Strip whitespaces on file download