Added an option to strip trailing whitespace on save.