Fix newline creation that was breaking cloud-init usge of bash script