Converting tabs into spaces and adding a new line at the end of some files