fixed to allow value arrays.

This will fix two things.

1.  It now works with value arrays correctly
2.  If you have multiple setenv::entry statements, they are put on a new line in the setenv file.
I don't think this needs to be configurable, I think you'll always want ensure_newline => true.

Also, can you make sure the arrows are aligned?