EC2 UserData encoding fix