Fixed bug that prevented downloading even if file existed on S3.