Strip whitespace on download