filedownload encode error