Removes trailing whitespaces on save