Fix line endings and executable bit on test_docs