Convert DOS line endings to Unix in shell provisioner [GH-1495]