update line endings to unix-style, reformat