Fix line endings when creating distributions