Fixed a bug where the YAML/action syntax generator would append to
instead of overwriting old files.

Signed-off-by: Anna Wojtowicz <wojtowicza@ornl.gov>