Fixed bug in S3 downloader.