fix https s3_file bug