Replace all tabs to 4 space, remove all spaces at end of line