Change TestDownloadFile to not depend on line ending