When fetching Chef installer metadata, clean up newlines in the output

Fixes issue #206

Installing Chef always failed because of newlines in the metadata output.