Fix trailing whitespace, newlines and tabs