add tramp support, change default line ending style to unix