Improve key generation command as pointed out in CHEF-4506
Merge pull request #210 from juliandunn/data-bag-key-generation-command

Improve key generation command to avoid linefeed issues