update ec2-ami-tools to 1.4.0.9 and adopt url format from ec2-api-tools