Auto detect text files and perform LF normalization