use https urls in s3_file