Do whitespace-cleanup-region on lines added if the file has trailing whitespaces.