Cherry-picking line endings commit to suffix_array

Adding gitattribute
Cherry-picking line endings commit to suffix_array