fix line endings in shell scripts (issue #458)