Fix filename sanitization. Fix for timeout while downloading.