Automatically fix whitespace errors