Convert new line character in files