send download errors as text/plain