fix init_script.template user-data encoding bug.