code cleanup: line ending conversion and tab conversion.