Fixed bash output.

With bash output enabled before, values weren't wrapped in double-quotes so a simple
eval
would fail if any of the values had a space in them.
Added LGPLv2.1 headers