fix line endings and executable bit