Convert file extension of downloads to lowercase before checking it.