Fix indentation of exported YAML

When exporting a barclamp that only used the default values from the template
(added_attrs.empty?) the "attributes:" key in the generated YAML was not
correctly indented.
Merge pull request #1156 from rhafer/batch

Fix indentation of exported YAML