ec2: quote $distribution when generating config file