remove trailing spaces & file format to unix on save