fix init_script.template user-data encoding bug.
Merge branch 'dev' of https://github.com/fajoy/horizon into nctu