Remove trailing whitespace on save and ack config