Fix a bug with uppercase content-type downloaded file.